Information processing apparatus and control method therefor

ABSTRACT

There is provided an information processing apparatus comprising: a storage unit configured to store log data, which indicate locations along a path of movement, and image data, wherein the log data contains a plurality of pairs of position information and time information and wherein the image data contains time information and position information indicating a position where an image is captured; and a generation unit configured to generate interpolated log data which contains the plurality of pairs contained in the log data and the pair of position information and time information contained in the image data.

CROSS REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. application Ser. No.13/358,563 filed on Jan. 26, 2012, the entire disclosure of which ishereby incorporated by reference herein. This application also claimsforeign priority under 35 U.S.C. §119 of Japanese Application No.2011-023245 filed on Feb. 4, 2011.

BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to an information processing apparatus anda control method therefor.

Description of the Related Art

In recent years, there has been a GPS log apparatus for receiving asignal from a GPS (Global Positioning System) satellite, and recording,as log data, received position information and date/time information. Adigital camera which incorporates a GPS reception function and records acaptured image added with position information and date/time informationis also available. Log data and image data recorded by these apparatuseshave position information such as a latitude and longitude. Displaying,on a map, a position represented by the position information can helprecall events associated with a movement route or shooting location.

Today, various utilization methods of log data are well known. Forexample, it is well known that when a digital camera has no GPSreception function (that is, position information and the like are notadded to a captured image), log data recorded by a GPS log apparatusdifferent from the digital camera is used to add position information toa captured image (see Japanese Patent Laid-Open No. 2009-171269).According to Japanese Patent Laid-Open No. 2009-171269, correspondingposition information in log data is added to a captured image bymatching date/time information contained in the log data with shootingdate/time information added to the captured image. Furthermore, JapanesePatent Laid-Open No. 2009-171269 also proposes a technique of improvingthe matching accuracy by correcting a gap or time difference of theinternal clock of a digital camera in a matching operation, a techniqueof displaying, on a map, the shooting position of an image and amovement route based on log data, and the like.

In Japanese Patent Laid-Open No. 2009-171269, however, since theaccuracy of a movement route depends on the recording density of logdata (a time interval at which position information and the like arerecorded in log data), the accuracy of a movement route drops as therecording density decreases (as the time interval becomes long).

SUMMARY OF THE INVENTION

The present invention has been made in consideration of the abovesituation, and provides a technique of interpolating positioninformation and the like contained in log data.

According to an aspect of the present invention, there is provided aninformation processing apparatus comprising: a storage unit configuredto store log data, which indicate locations along a path of movement,and image data, wherein the log data contains a plurality of pairs ofposition information and time information and wherein the image datacontains time information and position information indicating a positionwhere an image is captured; and a generation unit configured to generateinterpolated log data which contains the plurality of pairs contained inthe log data and the pair of position information and time informationcontained in the image data.

According to another aspect of the present invention, there is provideda control method for an information processing apparatus which includesa storage unit configured to store log data, which indicate locationsalong a path of movement, and image data, wherein the log data containsa plurality of pairs of position information and time information andwherein the image data contains time information and positioninformation indicating a position where an image is captured, the methodcomprising: a generation step of generating interpolated log data whichcontains the plurality of pairs contained in the log data and the pairof position information and time information contained in the imagedata.

By virtue of the above features, the present invention makes it possibleto interpolate position information and the like contained in log data.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a view showing an example of a screen displayed whenprocessing (that is, interpolation processing to be described withreference to FIG. 13) in step S1050 of FIG. 4 is executed;

FIG. 2 is a block diagram showing the arrangement of a computer 200 anda digital camera 100 which provides the computer 200 with image data andlog data according to the first embodiment;

FIG. 3 is a view showing a GUI 300 of an application executed by thecomputer 200 according to the first embodiment;

FIG. 4 is a flowchart illustrating processing executed when a folder isselected in a folder designation region 301 of FIG. 3;

FIG. 5 is a conceptual view showing the data structure of an Exif-JPEG500;

FIG. 6 is a flowchart illustrating details of processing executed instep S1020 of FIG. 4;

FIG. 7 is a table showing an example of an image management list 700;

FIG. 8 is a view showing an example of a GPS log file 800;

FIG. 9 is a table showing an example of a movement route displaymanagement list 900;

FIG. 10 is a table showing an example of a log management list 1000;

FIGS. 11A and 11B are flowcharts illustrating details of processingexecuted in step S1030 of FIG. 4;

FIG. 12 is a flowchart illustrating details of processing executed instep S1050 of FIG. 4;

FIG. 13 is a table showing an interpolated movement route displaymanagement list 1300 (interpolated log data) generated as a result ofprocessing in step S1340 of FIG. 13;

FIG. 14 is a flowchart illustrating details of processing executed instep S1060 of FIG. 4; and

FIG. 15 is a view showing an example of a screen displayed when theprocessing (that is, the interpolation processing to be described withreference to FIG. 13) in step S1050 of FIG. 4 is not executed.

DESCRIPTION OF THE EMBODIMENTS

Embodiments of the present invention will now be described withreference to attached drawings. It should be noted that the technicalscope of the present invention is defined by claims, and is not limitedby each embodiment described below. In addition, not all combinations ofthe features described in the embodiments are necessarily required forrealizing the present invention.

In the following embodiments, “date/time” and “time” are intended toinclude “year/month/day/hour/minute/second”, unless otherwise specified.To implement the present invention, however, part of“year/month/day/hour/minute/second” may be missing. Even when“year/month/day” is missing (i.e., the term “date/time” or “time” onlyincludes “hour/minute/second”), for example, the present invention canstill be implemented except for processes which require “day”, such asprocesses in steps S1260 and S1270 of FIG. 11B.

The following embodiments use a GPS as a system for positioning. Howeverother systems such as a wireless base station may be used as long as itis possible to acquire position information and time information.

[First Embodiment]

An embodiment in which an information processing apparatus of thepresent invention is applied to a computer will be described below. Inthis embodiment, a digital camera having a GPS reception functionrecords, as a file, image data with position information, and records,as a GPS log file, log data representing a movement route. Applicationsoftware (to be simply referred to as an “application” hereinafter)operating on the computer uses the files to display the movement routeand a mark indicating a shooting position on a map displayed by itself.

FIG. 2 shows the arrangement of a digital camera 100 as an example of animage capturing apparatus. Note that it is also possible to use, as animage capturing apparatus, a cellular phone with a camera in place of adigital still camera or a digital video camera. Referring to FIG. 2, thedigital camera 100 includes an image capturing unit 101, a GPS receptionunit 102, a central control unit 103, a RAM 104, a flash memory 105, arecording medium 106, a display unit 107, an operation unit 108, acommunication unit 109, and a clock 110. One hardware component maycontrol the digital camera 100, or a plurality of hardware componentsmay share processing to execute necessary operations as a whole.

The image capturing unit 101 includes a lens, shutter, aperture stop,and image sensor, and images an appropriate amount of light from anobject on the image sensor at an appropriate timing. The GPS receptionunit 102 (positioning unit) receives a signal from a GPS satellite, andcalculates a current position and current time based on the receivedsignal. The calculated current time is represented by UTC (UniversalTime, Coordinated) (first standard time). UTC indicates a standard timedetermined based on International Atomic Time measured by an atomicclock according to the international agreement. The GPS reception unit102 provides the central control unit 103 with information indicatingthe current position and current time. The digital camera 100,therefore, can use the GPS reception unit 102 to acquire information(position information) indicating the position of itself, and to acquireinformation (time information) indicating a time at which the positioninformation is acquired.

According to an input signal or program, the central control unit 103performs various operations, and controls each component constitutingthe digital camera 100. More specifically, the central control unit 103performs image capturing control, display control, recording control,communication control, and the like. The RAM 104 records temporary data,and is used as a work area by the central control unit 103. The flashmemory 105 records programs (firmware) for controlling the digitalcamera 100 and various kinds of setting information.

The recording medium 106 records a shot image file, a GPS log file, andthe like. Note that the recording medium 106 in this embodiment is aso-called detachable memory card which can be mounted on a computer orthe like to read out an image file or GPS log file. The digital camera100, however, may incorporate the recording medium 106. That is, thedigital camera 100 need only, at least, access the recording medium 106,and read/write an image file and GPS log file from/in the recordingmedium 106.

The display unit 107 displays a viewfinder image in shooting an image, ashot image, characters for interactive operations, and the like. Notethat the digital camera 100 does not necessarily include the displayunit 107, and need only have a display control function of controllingdisplay of the display unit 107. The operation unit 108 is used toaccept a user operation. For the operation unit 108, for example,buttons, a lever, a touch panel, and the like can be used.

The communication unit 109 connects with an external apparatus totransmit/receive a control command and data. As a protocol forestablishing a connection and communicating data, for example, PTP(Picture Transfer Protocol) is used. Note that the communication unit109 makes communication via a wired connection using a USB (UniversalSerial Bus) cable in this embodiment. The present invention, however, isnot limited to this, and communication may be made via a wirelessconnection such as a wireless LAN. The communication unit 109 maydirectly connect with an external apparatus, or may connect with anexternal apparatus via a network such as the Internet through a server.

The clock 110 indicates a time conforming to a standard time (secondstandard time) different from UTC, and supplies the central control unit103 with information (clock time information) indicating a time. Notethat the standard time applied to the clock 110 may accidentallycoincide with UTC.

When the digital camera 100 captures an image, the central control unit103 adds, as a shooting date/time 5081 (to be described later withreference to FIG. 5) in an Exif format, clock time information acquiredfrom the clock 110 in capturing the image to image data. If the GPSreception unit 102 has received a signal from a GPS satellite incapturing the image, the central control unit 103 adds, to the imagedata, in an Exif format, position information and time information whichhave been acquired by the GPS reception unit 102 in capturing the image.The position information and time information are added to the imagedata as a latitude 5101, a longitude 5102, and a positioning date/time5103 (to be described later with reference to FIG. 5). The centralcontrol unit 103 records, as a file, the image data added with the clocktime information, position information, and time information in therecording medium 106. Alternatively, if the GPS reception unit 102 hasnot received a signal necessary for calculation of position informationand the like in capturing the image, position information and timeinformation are not recorded for the image file (the clock timeinformation is recorded).

The digital camera 100 has a logger mode, during which it generates logdata. More specifically, under control of the central control unit 103,the GPS reception unit 102 receives a signal from a GPS satellite at apredetermined interval recorded in the RAM 104, and supplies positioninformation and time information to the central control unit 103. Thecentral control unit 103 sequentially records, as log data, the positioninformation and time information which are regularly supplied. The logdata, therefore, contains a plurality of pairs of position informationand time information. The log data is recorded in the recording medium106, for example, per day, or the log data is divided by a date/time orthe like designated by the user and each divided log data is recorded ina file format in the recording medium 106. Note that a timing at whichthe digital camera transits to a logger mode includes, for example, atiming at which the digital camera is not in a shooting mode (thedigital camera is in a playback mode or the like). Furthermore, when thepower button of the digital camera 100 is turned off, the digital camera100 may transit to a logger mode to operate with a minimum powernecessary for positioning and creation of log data.

A computer 200 includes a central control unit 203, a RAM 204, arecording medium 206, a display unit 207, an operation unit 208, and acommunication unit 209. According to an input signal or program, thecentral control unit 203 performs various operations, plays back data,and controls each component constituting the computer 200.

The RAM 204 records temporary data, and is used as a work area by thecentral control unit 203. The recording medium 206 is a hard disk drive(HDD) serving as an auxiliary storage unit, and stores various kinds ofdata and programs. Note that the recording medium 206 also stores an OSand an application (to be described later). The display unit 207 servesas a display in this embodiment, and displays an image or the screen ofan application. Note that the recording medium 206 and the display unit207 may be incorporated in the computer 200, or may be separateapparatuses.

The operation unit 208 is a keyboard, a mouse, or the like, and is usedby the user to input to an application or the like. The communicationunit 209 connects with an external apparatus to transmit/receive acontrol command and data. Although a USB interface is used to connectwith the digital camera 100 in this embodiment, the present invention isnot limited to this like the communication unit 109.

An application according to this embodiment will be described. Theapplication is executed within the computer 200. Assume that before thefollowing operation, an image file added with clock time information,position information, and time information, and a GPS log file aretransmitted from the digital camera 100 to the computer 200, and storedin the recording medium 206.

FIG. 3 is a view showing a GUI 300 of an application executed by thecomputer 200 according to the first embodiment. The application of thisembodiment can display a map on a screen. Then, the application refersto the image file and GPS log file recorded in the recording medium 206of the computer 200, and displays, on the map, a movement route and amark indicating the presence of captured image data based on positioninformation and the like recorded in the files. A detailed descriptionof FIG. 3 will be given below.

In the GUI 300 of FIG. 3, a folder designation region 301 is used todesignate image data to be processed in the application. In the folderdesignation region 301, it is possible to select a folder of a filesystem formed within the recording medium 206 of the computer 200. Inthe application, image files stored in the selected folder are to beprocessed. A thumbnail list display region 302 displays a list ofthumbnail images (reduced images) corresponding to the image filescontained in the folder selected in the folder designation region 301. Amap display region 303 displays a map. When the user operates map movingbuttons 304 or a map scale change bar 305, the map display region 303can display a map of an arbitrary position. Note that the application ofthis embodiment acquires map data for generating a map by referring to ageneral Web service but the present invention is not limited to this.

In this application, a mark 310 indicating the presence of image data isdisplayed on a map in accordance with position information contained inthe image data corresponding to a thumbnail image displayed in thethumbnail list display region 302. Furthermore, based on a GPS log filecorresponding to an image being selected in the thumbnail list displayregion 302 of FIG. 3, a movement route 311 obtained by connecting piecesof position information contained in the GPS log data is displayed onthe map (although an interpolated movement route is actually displayedas shown in FIG. 1 (to be described later), a movement route based ononly the GPS log file is displayed in FIG. 3 for descriptiveconvenience).

Processing for displaying the screen of FIG. 3 will be described belowwith reference to a flowchart shown in FIG. 4. Note that the centralcontrol unit 203 of the computer 200 executes the processing to bedescribed below according to a program stored in the recording medium206.

FIG. 4 is a flowchart illustrating processing executed when a folder isselected in the folder designation region 301 of FIG. 3. In step S1005,the central control unit 203 analyzes GPS log files. The GPS log filesare saved in a predetermined folder within the recording medium 206. Asdetailed processing in step S1005, the central control unit 203sequentially refers to the plurality of GPS log files recorded in thepredetermined folder, and creates a movement route display managementlist 900 shown in FIG. 9 (to be described later) and a log managementlist 1000 shown in FIG. 10 (to be described later).

When the processing in step S1005 is completed, the central control unit203 processes, one by one, image data contained in the folder designatedin the folder designation region 301. More specifically, in step S1010of FIG. 4, the central control unit 203 determines whether processing insteps S1020 and S1030 is complete for all the image data. If unprocessedimage data exists, the central control unit 203 advances the process tostep S1020. If the processing is complete for all the image data, thecentral control unit 203 advances the process to step S1040.

In step S1020, the central control unit 203 creates an image managementlist 700 (see FIG. 7) which summarizes information about image data tobe processed. At this time, the central control unit 203 also performsprocessing of obtaining the UTC converted time of a shooting date/time(clock time information) which serves as a key when a GPS log filecorresponding to image data is searched for. The processing in stepS1020 will be described in detail later.

In step S1030, the central control unit 203 specifies a GPS log filecorresponding to image data based on time information contained in theimage data or the UTC converted clock time information. Furthermore, thecentral control unit 203 records, in the image management list 700created in step S1020, information about the specified GPS log file. Theprocessing in step S1030 will be described in detail later.

As described above, the processing in steps S1020 and S1030 is completefor all the image data, the process advances from step S1010 to stepS1040. In step S1040, the central control unit 203 displays a markindicating the presence of an image on the map of the map display region303 based on the image management list 700. In this embodiment, thecentral control unit 203 displays the mark 310 at a correspondingposition on the map displayed in the map display region 303, as shown inFIG. 3. The mark 310 is displayed for, out of images managed by theimage management list 700, every image whose position information isrecorded.

In step S1050, the central control unit 203 executes movement routeinterpolation processing (details thereof will be described later). Instep S1060, the central control unit 203 displays the movement route 311on the map displayed in the map display region 303 (details thereof willbe described later).

(S1005: Analysis of GPS Log Files)

Details of the processing executed in step S1005 of FIG. 4 will beexplained with reference to FIGS. 8 to 10. The structure of a GPS logfile according to this embodiment will be described first. FIG. 8 is aview showing an example of a GPS log file 800. The GPS log file 800 issaved in the recording medium 106 based on information acquired by thecentral control unit 103 of the digital camera 100 from the GPSreception unit 102.

At the first line of the GPS log file 800, a model name 801 and a serialnumber 802 of a GPS log apparatus are recorded. In this embodiment,since the digital camera 100 has a function of the GPS log apparatus(that is, the GPS reception unit 102), the model name and serial numberof the digital camera 100 are recorded as the model name 801 and serialnumber 802, respectively. It is possible to use the model name 801 andthe serial number 802 as identification information for identifying thedigital camera 100 (an image capturing apparatus) which has generatedthe GPS log file 800.

At a second line and subsequent lines each starting with a mark “$” ofthe GPS log file 800, messages complying with an NMEA-0183 format, whichare output as log information by the GPS log apparatus by receivingsignals, are described. The NMEA-0183 format is a standard, defined byNMEA (National Marine Electronics Association), for making communicationusing a serial port between a GPS receiver and a navigation device. Inthis embodiment, two types of messages, that is, GPGGA and GPRMC arerecorded. The data fields following each message are separated bycommas.

GPGGA indicates for Global Positioning System Fix Data. The data fieldsinclude a positioning time 803 conforming to UTC, a latitude 804 (alatitude and a symbol indicating a north latitude (N) or south latitude(S)), a longitude 805 (a longitude and a symbol indicating an eastlongitude (E) or west longitude (W)), and the quality of the GPS in thisorder. The data fields also include the number of reception satellites,HDOP (Horizontal Dilution of Precision), an antenna altitude (m) abovemean sea level, and the altitude difference (m) of mean sea level fromthe WGS-84 ellipsoid. Furthermore, the data fields include the age (sec)of DGPS data, the ID of a DGPS reference station, and a checksum.

GPRMC stands for Recommended Minimum Specific GNSS Data. The data fieldsinclude a positioning time conforming to UTC, a status indicatingvalidity (A) or invalidity (V), a latitude, a symbol indicating a northlatitude (N) or south latitude (S), a longitude, and a symbol indicatingan east longitude (E) or west longitude (W) in the order named. The datafiles also include a ground speed (knot), the direction of movement(degree, true north), a positioning date 806 conforming to UTC, adeclination, a mode, and a checksum.

The movement route display management list 900 generated based on theGPS log file 800 will be described next. FIG. 9 is a table showing anexample of the movement route display management list 900. The centralcontrol unit 203 extracts the positioning time 803, latitude 804,longitude 805, and positioning date 806 from the GPS log file 800, andrecords them in the movement route display management list 900.Referring to FIG. 9, a combination of the positioning time 803 and thepositioning date 806 is recorded as a time 901. The latitude 804 and thelongitude 805 are recorded as a latitude 902 and a longitude 903,respectively. Information (origin information) indicating whether thecorresponding time 901 and the like originate from log data or imagedata (to be described later) is recorded as a file type 904. Since thelist shown in FIG. 9 is created based on only the GPS log file 800,“log” is recorded as the file type 904 for all entries.

The log management list 1000 will be described next. FIG. 10 is a tableshowing an example of the log management list 1000. The log managementlist 1000 enables to handle a plurality of GPS log files (in this case,the recording medium 206 can store a plurality of GPS log files). Thefile path of each GPS log file is recorded as a log file path 1001. Apositioning start date/time (that is, earliest time information)extracted from the GPS log file 800 is recorded as a positioning startdate/time 1002. A positioning end date/time (that is, last timeinformation) extracted from the GPS log file 800 is recorded as apositioning end date/time 1003. The model name 801 extracted from theGPS log file 800 is recorded as a model name 1004. The serial number 802extracted from the GPS log file 800 is recorded as a serial number 1005.Note that the log management list 1000 is sorted in ascending orderbased on the positioning start date/time 1002. The log management list1000 may be recorded in the recording medium 206, or may only betemporarily managed in the RAM 204.

(S1020: Creation of Image Management List)

Details of the processing executed in step S1020 of FIG. 4 will bedescribed with reference to FIGS. 5 to 7. The image management list 700will be explained first. FIG. 7 is a table showing an example of theimage management list 700. The image management list 700 managesinformation obtained by analyzing all image data in a folder (see thefolder designation region 301 of FIG. 3) designated by the user. Theimage management list 700 includes an image file path 701, a latitude702, a longitude 703, a model name 704, a serial number 705, a UTCconverted time 706, and a corresponding log file path 707. Of thesedata, the image file path 701 to UTC converted time 706 are recorded instep S1020 of FIG. 4, and the corresponding log file path 707 isrecorded in step S1030 of FIG. 4 (to be described later with referenceto FIGS. 11A and 11B).

FIG. 6 is a flowchart illustrating details of the processing executed instep S1020 of FIG. 4. In step S1110, the central control unit 203records the file path of image data to be processed as the image filepath 701 of the image management list 700. In step S1120, the centralcontrol unit 203 analyzes the image data, and extracts a latitude, alongitude, a model name, and a serial number to record them as thelatitude 702, longitude 703, model name 704, and serial number 705,respectively.

The structure of the image data will be described with reference to FIG.5. As described above, the image data is generated by the digital camera100, transferred to the computer 200, and recorded in a file format inthe recording medium 206. In this embodiment, an Exif-JPEG format isused as a file format. Any format such as Exif-TIFF or RAW may be usedas long as it is possible to record metadata. Note that Exif(Exchangeable image file format) is the format of digital camera imagemetadata which has been decided by JEIDA (Japan Electronic IndustryDevelopment Association).

FIG. 5 is a conceptual view showing an example of the data structure ofan Exif-JPEG 500. An SOI 501 serves as a marker indicating the start ofthe Exif-JPEG 500. An APP1 502 serves as an application markercorresponding to the header portion of the Exif-JPEG 500. A data block503 includes a quantization table (DQT), a Huffman table (DHT), a framestart marker (SOF), and a scan start marker (SOS). A Compressed Data 504is compressed data of an image. An EOI 505 serves as a marker indicatingthe end of the Exif-JPEG 500.

The APP1 502 is configured as shown on the right side of FIG. 5. A datablock 506 includes an APP1 Length indicating the size of the APP1 502and an Exif Identifier Code indicating the identification code of theAPP1 502. A 0th IFD 507 is a data block for recording attributeinformation about the compressed image. The 0th IFD 507 includes, forexample, a model name 5071 of the digital camera which has shot theimage. In part of the 0th IFD 507, a data block of an Exif IFD 508 and aGPS IFD 510 exists. The Exif IFD 508 includes a tag associated with anExif version, a tag associated with the characteristics and structure ofthe image data, a tag associated with the shooting date/time 5081, and atag associated with shooting conditions such as a shutter speed and lensfocal length. Clock time information acquired from the clock 110 of thedigital camera 100 is recorded as the shooting date/time 5081. In theExif IFD 508, a data block of a MakerNote 509 exists. Information uniqueto a camera manufacturer is recorded in the MakerNote 509. The MakerNote509 contains, for example, time difference information 5091 used in thisembodiment, and a serial number 5092 indicating the unique number of thedigital camera 100 used to shoot the image. It is possible to use themodel name 5071 and the serial number 5092 as identification informationfor identifying the digital camera 100 (an image capturing apparatus)which has captured the image. The GPS IFD 510 includes a tag associatedwith GPS information. Position information such as the latitude 5101 andlongitude 5102 used in this embodiment, and the positioning date/time5103 conforming to UTC are recorded in the GPS IFD 510. A 1st IFD 511 isa data block for recording attribute information associated with athumbnail image. A Thumbnail 512 contains thumbnail image data.

The time difference information 5091 will now be described. As describedabove, the digital camera 100 includes the clock 110, and associatesimage data with a date/time, obtained in capturing the image, asattribute information of the image, and records it as the shootingdate/time 5081. The digital camera 100 according to this embodiment canset information indicating the time difference between UTC (the firststandard time) and the standard time (the second standard time) appliedto the clock 110. In this embodiment, in addition to the shootingdate/time 5081, the time difference (the time difference information5091) set in the digital camera 100 is recorded in the generated imagedata. If, for example, the user stays in Japan, the clock 110 of thedigital camera 100 is set to the Japan local time, and the timedifference with respect to UTC is set to 9 hours (540 minutes). In thiscase, the Japan local time in capturing an image is recorded as ashooting date/time 5081 of image data generated by capturing the image,and a value of 9 hours (540 minutes) is recorded as time differenceinformation 5091.

Referring back to FIG. 6, in step S1120, the central control unit 203extracts the latitude 5101, longitude 5102, model name 5071, and serialnumber 5092 from the image data, and records them at correspondinglocations of the image management list 700.

In step S1130, the central control unit 203 analyzes the image data toextract the shooting date/time 5081, positioning date/time 5103, andtime difference information 5091. These pieces of information are usedto calculate the UTC converted time 706 which serves as a key when a GPSlog file corresponding to the image data is searched for, and to performinterpolation for the movement route display management list 900. Thelog management list 1000 (see FIG. 10) records, as information of eachGPS log file, the positioning start date/time 1002 and positioning enddate/time 1003 according to UTC, and details thereof will be describedlater. To find a GPS log file corresponding to the image data, a timecorresponding to UTC (the UTC converted time 706) when the image is shotis required. Note that the image data does not always include all of theshooting date/time 5081, positioning date/time 5103, and time differenceinformation 5091. For example, the digital camera 100 may be configuredto record the latitude 5101 and longitude 5102 and not to record thepositioning date/time 5103. In an environment such as the interior of aroom in which it is impossible to capture a radio wave from a GPSsatellite, the GPS reception unit 102 of the digital camera 100 cannotacquire time information. In this case, the positioning date/time 5103is not recorded in the image data (in this case, position information(the latitude 5101 and longitude 5102) are not recorded, either). If thedigital camera 100 includes no function of setting time differenceinformation, the time difference information 5091 is not recorded. Instep S1140 and thereafter, the process branches depending on acquireddata.

In step S1140, the central control unit 203 determines whether thepositioning date/time 5103 exists in the image data (that is, whetherthe positioning date/time 5103 has been acquired in step S1130). If thepositioning date/time 5103 exists, the central control unit 203 advancesthe process to step S1150. In this case, in step S1150, the centralcontrol unit 203 records, as the UTC converted time 706, the positioningdate/time 5103 acquired from the image data (in this case, conversion isnot necessary).

If it is determined in step S1140 that there is no positioning date/time5103, the process advances to step S1160. In this case, in step S1160,the central control unit 203 determines whether the shooting date/time5081 exists in the image data. If there is no shooting date/time 5081,the central control unit 203 advances the process to step S1195 torecord “0” indicating an error as the UTC converted time 706 of theimage management list 700.

If it is determined in step S1160 that the shooting date/time 5081exists, the process advances to step S1170. In this case, in step S1170,the central control unit 203 determines whether the time differenceinformation 5091 exists in the image data. If the time differenceinformation 5091 exists, the central control unit 203 advances theprocess to step S1190 to record, as the UTC converted time 706 of theimage management list 700, a value obtained by subtracting the timedifference information 5091 from the shooting date/time 5081.Alternatively, if there is no time difference information 5091, thecentral control unit 203 prompts the user to input time differenceinformation in step S1180, and calculates the UTC converted time 706based on the input value to record it in step S1190.

As described above, with the processing in steps S1130 to S1190, it ispossible to acquire the UTC converted time 706 if the image datacontains at least the shooting date/time 5081 or the positioningdate/time 5103.

(S1030: Search for Corresponding Log File)

The processing executed in step S1030 of FIG. 4 will be described indetail with reference to FIGS. 11A and 11B. In step S1030, the centralcontrol unit 203 refers to the log management list 1000 and the UTCconverted time 706 acquired in step S1020, specifies a GPS log filecorresponding to the image data, and sets the corresponding log filepath 707 of the image management list 700.

FIGS. 11A and 11B are flowcharts illustrating details of the processingexecuted in step S1030 of FIG. 4. In step S1210, the central controlunit 203 acquires, from the image management list 700, the model name704, serial number 705, and UTC converted time 706 of the image data tobe processed. In step S1220, the central control unit 203 initializes avariable N to 0. The variable N indicates the order of GPS log filesincluded in the log management list 1000 of FIG. 10. In step S1230, thecentral control unit 203 increments the value of the variable N by 1. Instep S1235, the central control unit 203 refers to Nth log informationof the log management list 1000. In step S1240, the central control unit203 determines whether the model name 704 and serial number 705 acquiredin step S1210 coincide with the model name 1004 and serial number 1005of the Nth log information, respectively. If the model names or serialnumbers do not coincide with each other, the central control unit 203returns the process to step S1230 (in this case, it is determined thatthe Nth GPS log file does not correspond to the image data to beprocessed); otherwise, the central control unit 203 advances the processto step S1250.

In step S1250, the central control unit 203 determines whether the UTCconverted time 706 acquired in step S1210 is earlier than a positioningstart date/time 1002 of the Nth GPS log file. If the time 706 is earlierthan the date/time 1002, the central control unit 203 advances theprocess to step S1260 to determine whether the UTC converted timeindicates the same date as that indicated by the positioning startdate/time 1002 of the Nth GPS log file. If it is determined that thesame date is indicated, the central control unit 203 determines the NthGPS log file as a corresponding log file in step S1265, and advances theprocess to step S1298; otherwise, the central control unit 203 advancesthe process to step S1270.

In step S1270, the central control unit 203 determines whether the UTCconverted time 706 indicates the same date as that indicated by apositioning end date/time 1003 of an nth (n<N) GPS log file. The nth GPSlog file is a last GPS log file in which the model name coincides withthe model name 704 and the serial number coincides with the serialnumber 705 in step S1240. If the UTC converted time 706 indicates thesame date as that indicated by the positioning end date/time 1003 of thenth GPS log file, the central control unit 203 advances the process tostep S1275, determines the nth GPS log file as a corresponding log file,and then advances the process to step S1298. If the UTC converted time706 does not indicate the same date as that indicated by the positioningend date/time 1003 of the nth GPS log file, the central control unit 203advances the process to step S1280 to determine that there is nocorresponding GPS log file. In this case, there is no positioning startdate/time 1002 or positioning end date/time 1003 which indicates thesame date as that indicated by the UTC converted time 706.

By the determination operations in steps S1260 and S1270, it becomespossible to handle cases where there is no GPS log file such that theUTC converted time 706 is between the earliest time (the positioningstart date/time 1002) and the last time (the positioning end date/time1003). In this case, in steps S1265 and S1275, a GPS log file whichcontains time information indicating the same date as that indicated bythe UTC converted time 706 is selected. Moreover, as a result of thesedetermination operations, it may be recorded that there is no GPS logfile corresponding to C:¥20100908¥IMG_0007.JPG, as shown in FIG. 7. Evenif, however, there is no GPS log file in which the same date isindicated, a GPS log file in which the positioning start date/time 1002or positioning end date/time 1003 is nearest to the UTC converted time706 may be determined as a corresponding log file. In this case, even aGPS log file in which the positioning start date/time 1002 orpositioning end date/time 1003 is nearest to the UTC converted time 706may not be determined as a corresponding log file when the differencebetween the date/time 1002 or 1003 and the UTC converted time 706exceeds a threshold.

If it is determined in step S1250 that the UTC converted time 706 is notearlier than the positioning start date/time 1002 of the Nth GPS logfile, the process advances to step S1290. In this case, the centralcontrol unit 203 determines in step S1290 whether the UTC converted time706 is equal to or earlier than a positioning end date/time 1003 of theNth GPS log file. If the time 706 is earlier than the date/time 1003,the central control unit 203 determines the Nth GPS log file as acorresponding log file in step S1295, and advances the process to stepS1298. In this case, the UTC converted time 706 is between thepositioning start date/time 1002 and the positioning end date/time 1003of the Nth GPS log file.

Alternatively, if it is not determined in step S1290 that the UTCconverted time 706 is not equal to or earlier than the positioning enddate/time 1003 of the Nth GPS log file, the central control unit 203determines in step S1296 whether all the GPS log files have beenreferred to. If not all the GPS log file have been referred to, theprocess returns to step S1230; otherwise, the central control unit 203determines in step S1297 that there is no corresponding GPS log file,and advances the process to step S1298. In step S1298, the centralcontrol unit 203 records the path of the determined corresponding GPSlog file as the corresponding log file path 707 of the image managementlist 700 of FIG. 7.

Note that in this embodiment, the image capturing time (shootingdate/time 5081) is converted into UTC in creating the image managementlist 700, as described in step S1190 of FIG. 6. Instead of convertingthe image capturing time into UTC, however, the time difference betweenthe clock 110 and UTC may be added to the time information (time 901) ofthe GPS log file. That is, in any way, at least one of the shootingdate/time 5081 and the time 901 need only be corrected so that theycomply with the same standard time. Note that when correcting the time901, it is necessary to correct the positioning date/time 5103 in thesame manner in step S1150 of FIG. 6.

Although it is confirmed in step S1240 that the model names coincidewith each other and the serial numbers coincide with each other in thisembodiment, this processing may be omitted. If, for example, a GPS logapparatus different from the digital camera 100 generates a GPS logfile, a model name and the like contained in image data do not coincidewith those contained in the GPS log file. In such case, omitting theprocessing in step S1240 enables to search for a corresponding log file.

According to the flowcharts of FIGS. 11A and 11B, there is onecorresponding log file for each image data. The process, however, may bechanged so that each image data can have two or more corresponding logfiles. If the process is changed to return to step S1230 from stepS1265, S1275, or S1295 instead of advancing to step S1298, each imagedata can have two or more corresponding log files.

(S1050: Interpolation of Movement Route)

The processing executed in step S1050 of FIG. 4 will be described indetail with reference to FIGS. 12 and 13. FIG. 12 is a flowchartillustrating details of processing executed in step S1050 of FIG. 4. Instep S1310, the central control unit 203 initializes the variable N to0. The variable N indicates the order of the GPS log files included inthe log management list 1000 of FIG. 10. In step S1320, the centralcontrol unit 203 increments the value of the variable N by 1. In stepS1330, the central control unit 203 refers to the corresponding log filepath 707 of the image management list 700 of FIG. 7, and extracts imagedata which has the Nth GPS log file of the log management list 1000 asits corresponding log file.

In step S1340, the central control unit 203 performs interpolation forthe movement route display management list 900 of FIG. 9 correspondingto the Nth GPS log file. More specifically, the central control unit 203inserts, as the time 901, latitude 902, and longitude 903, the UTCconverted time 706, latitude 702, and longitude 703 of the image dataextracted in step S1330 to the movement route display management list900, respectively, in chronological order. At this time, “image”indicating that the inserted entry originates from image data is set asthe file type 904. With this processing, it is possible to interpolateposition information contained in the image data into the log data. FIG.13 is a table showing an interpolated movement route display managementlist 1300 (interpolated log data) which is generated as a result of theprocessing in step S1340.

In step S1350, the central control unit 203 determines whether theinterpolation processing of the movement route display management list900 is complete for all the GPS log files (that is, the interpolationprocessing is complete up to the last GPS log file of the log managementlist 1000). If the interpolation processing is complete, the centralcontrol unit 203 ends the process of the flowchart; otherwise, thecentral control unit 203 returns the process to step S1320.

(S1060: Display of Movement Route)

The processing executed in step S1060 of FIG. 4 will be described indetail with reference to FIGS. 14, 15, and 1. FIG. 14 is a flowchartillustrating details of the processing executed in step S1060 of FIG. 4.In step S1410, the central control unit 203 acquires, from the imagemanagement list 700 of FIG. 7, information of the image being selectedin the thumbnail list display region 302 of FIG. 3. In step S1420, thecentral control unit 203 refers to the image management list 700 toacquire the interpolated movement route display management list 1300which corresponds to a GPS log file corresponding to the image beingselected. In step S1430, the central control unit 203 initializes thevariable N to 0. The variable N indicates the order of entries includedin the interpolated movement route display management list 1300 of FIG.13. In step S1440, the central control unit 203 increments the value ofthe variable N by 1. In step S1450, the central control unit 203determines whether the file types of the Nth and (N+1)th entries of theinterpolated movement route display management list 1300 are “log”. Ifboth the file types are “log”, the central control unit 203 renders amovement route by connecting, with a solid line, positions on the mapwhich correspond to the Nth and (N+1)th pieces of latitude/longitudeinformation in step S1460. Alternatively, if both the file types are not“log” (at least one of the file types is “image”), the central controlunit 203 renders a movement route by connecting, with a dotted line,positions on the map which correspond to the Nth and (N+1)th pieces oflatitude/longitude information in step S1470. The central control unit203 determines in step S1480 whether the processing is complete up tothe end of the interpolated movement route display management list 1300.If the processing is complete, the central control unit 203 ends theprocess of the flowchart; otherwise, the central control unit 203returns the process to step S1440.

FIG. 15 is a view showing an example of a screen displayed when theprocessing (that is, the interpolation processing described withreference to FIG. 13) in step S1050 of FIG. 4 is not executed. Referringto FIG. 15, marks 1501 serve as markers indicating the positions ofimages shot before the positioning start date/time of a correspondingGPS log file. A mark 1502 serves as a marker indicating the position ofan image shot after the positioning end date/time of the correspondingGPS log file. Other marks serve as markers indicating the positions ofimages shot between the positioning start date/time and the positioningend date/time of the corresponding GPS log file. A thick line isdisplayed as a movement route 1503. A location with a latitude andlongitude recorded at the positioning start date/time of the GPS logfile is at a start point 1504 of the movement route and a location witha latitude and longitude recorded at the positioning end date/time ofthe GPS log file is at an end point 1505 of the movement route. Whilemoving from a point 1506 to a point 1507, the digital camera 100 is in ashooting mode, and therefore, recording in the GPS log file is notperformed. The movement route is rendered by connecting, with linesegments, pieces of latitude/longitude information recorded in the GPSlog file. If, therefore, a period of time during which recording in theGPS log file is not performed is long, locations which the user did notactually pass through are rendered as a movement route. Thus, a movementroute obtained by connecting the point 1506 with the point 1507 using astraight line is displayed.

On the other hand, FIG. 1 shows an example of a screen displayed whenthe processing (that is, the interpolation processing described withreference to FIG. 13) in step S1050 of FIG. 4 is executed. A movementroute, shown in FIG. 1, which has been interpolated with images, havingposition information, of marks is rendered with dotted lines (forexample, dotted lines 1601, 1602, and 1603), and a movement route basedon latitude/longitude information recorded in a GPS log filecorresponding to a displayed image is rendered with solid lines. Thedotted line 1601 indicates a movement route interpolated with the imageswhich have position information and have been shot between thepositioning start date/time and the positioning end date/time of the GPSlog file. The dotted line 1602 indicates a movement route added by theimages which have position information and have been shot before thepositioning start date/time of the GPS log file. The dotted line 1603indicates a movement route added by the images which have positioninformation and have been shot after the positioning end date/time ofthe GPS log file.

Note that although, in this embodiment, for descriptive convenience orfor enabling to discriminate an interpolated movement route from theinformation recorded in the GPS log file, a movement route interpolatedwith images is rendered with a dotted line, an interpolated movementroute may be rendered with a solid line. An interpolated movement routemay be discriminated from the information recorded in the GPS log fileby a broken line or the color of a line segment.

As described above, according to this embodiment, the computer 200generates interpolated log data (the interpolated movement route displaymanagement list 1300) containing a plurality of pairs of positioninformation and time information contained in log data and a pluralityof pairs of position information and time information contained in imagedata. This enables to interpolate the position information contained inthe image data for the position information and the like contained inthe log data.

This interpolation method is effective especially when a logging modeand a shooting mode are mutually exclusive. This is because, if thelogging mode and the shooting mode are mutually exclusive, the digitalcamera cannot perform positioning in the logging mode during theshooting mode, and therefore, GPS log data does not contain positioninformation during the shooting mode. In this embodiment, the missinglocations of the GPS log data are interpolated using image data whichhave position information and have been obtained in the shooting mode.

[Other Embodiments]

Aspects of the present invention can also be realized by a computer of asystem or apparatus (or devices such as a CPU or MPU) that reads out andexecutes a program recorded on a memory device to perform the functionsof the above-described embodiment(s), and by a method, the steps ofwhich are performed by a computer of a system or apparatus by, forexample, reading out and executing a program recorded on a memory deviceto perform the functions of the above-described embodiment(s). For thispurpose, the program is provided to the computer for example via anetwork or from a recording medium of various types serving as thememory device (e.g., computer-readable medium).

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2011-023245 filed on Feb. 4, 2011, which is hereby incorporated byreference herein in its entirety.

What is claimed is:
 1. An information processing apparatus comprising: anon-transitory memory configured to store log data and image data,wherein the log data indicates locations along a path of movement, thelog data contains a plurality of pieces of position information and aplurality of pieces of time information, each of which corresponds to arespective one of the plurality of pieces of position information, theimage data contains a metadata region including time informationindicating a time when an image is captured and position informationindicating a position where the image is captured, and the positioninformation contained in the metadata region of the image data isobtained at a timing at which the image is captured, the timing beingdifferent from timings at which the plurality of position informationcontained in the log data are obtained; and a processor coupled to thenon-transitory memory, wherein the processor is programmed to functionas a display control unit configured to display, on a display device,the plurality of position information contained in the log data and theposition information contained in the metadata region of image data inan order corresponding to the plurality of time information contained inthe log data and the time information contained in the metadata regionof the image data, wherein, if the non-transitory memory stores firstimage data that contains a metadata region including first timeinformation indicating a first time when a first image is captured, thefirst time being next to a second time indicated by second timeinformation contained in the log data in the order, the display controlunit controls the display unit to display a first position indicated byposition information contained in the metadata region of the first imagedata and a second position indicated by position informationcorresponding to the second time information of the log data such thatthe first and second positions are connected to each other, and wherein,if the non-transitory memory does not store the first image data, thedisplay control unit controls the display unit to display the secondposition and a third position indicated by position informationcorresponding to third time information of the log data indicating athird time which is next to the second time in the order such that thesecond and third positions are connected to each other.
 2. Theinformation processing apparatus according to claim 1, wherein thedisplay control unit displays, on a map, a connection of positions fordiscriminating between a connection of two positions from the log dataand a connection of two positions including a position from the imagedata.
 3. The information processing apparatus according to claim 1,wherein the non-transitory memory is configured to store a plurality oflog data, and the display control unit displays the first and secondpositions using log data from the plurality of pieces of log data, suchthat a time indicated by the time information contained in the metadataregion of the first image data is between an earliest time and a latesttime that are indicated by the plurality of pieces of time informationcontained in the log data to be used.
 4. The information processingapparatus according to claim 1, wherein the image data is data capturedby an image capturing apparatus, and the log data is data acquired bythe image capturing apparatus as a position of the image capturingapparatus.
 5. The information processing apparatus according to claim 4,wherein the log data contains identification information for identifyingthe image capturing apparatus that acquired the plurality of pieces ofposition information and the plurality of pieces of time information ofthe log data, the image data contains identification information foridentifying the image capturing apparatus that captured an imagerepresented by the image data, and the display control unit displays thefirst and second positions using the log data and the image data whenthe identification information contained in the log data coincides withthe identification information contained in the first image data.
 6. Theinformation processing apparatus according to claim 1, wherein, if thenon-transitory memory stores first image data that contains a metadataregion including first time information indicating the first time whenthe first image is captured, the first time being next to the secondtime indicated by second time information contained in the log data inthe order and the first image satisfies a predetermined condition, thedisplay control unit controls the display unit to display the firstposition indicated by position information contained in the metadataregion of the first image data and the second position indicated byposition information corresponding to the second time information of thelog data such that the first and second positions are connected to eachother, and wherein, if the non-transitory memory does not store thefirst image data or the first image data does not satisfy thepredetermined condition, the display control unit controls the displayunit to display the second position and the third position indicated byposition information corresponding to third time information of the logdata indicating a third time which is next to the second time in theorder such that the second and third positions are connected to eachother.
 7. The information processing apparatus according to claim 6,wherein the predetermined condition includes that the first image datais selected.
 8. An information processing apparatus comprising: acommunication unit; a non-transitory memory; and a processor coupled tothe memory, which executes the following: receiving, via thecommunication unit, log data containing a plurality of position data anda plurality of corresponding time data; receiving image data with whichposition data indicating an image capturing position and time dataindicating an image capturing time are associated; creating a locus byserially connecting the plurality of position data contained in the logdata based on the time data contained in the log data; correcting thelocus by serially connecting the position data associated with the imagedata and the plurality of position data contained in the log data basedon the time data associated with the image data and the time datacontained in the log data so that the corrected locus shows a moreprecise route than the locus created based only on the log data; anddisplaying the corrected locus on a display unit.
 9. The informationprocessing apparatus according to claim 8, wherein the processorcorrects the locus by inserting the position data associated with theimage data between the plurality of position data contained in the logdata, based on the time data contained in the log data and the time dataassociated with the image data.
 10. The information processing apparatusaccording to claim 9, wherein the processor performs control to displaythe locus on a map, wherein the processor displays the locus on the mapin a manner where route portions connecting any two position datacontained in the log data are distinguished from other route portions.11. The information processing apparatus according to claim 8, whereinthe log data contains identification information for identifying anapparatus that has generated the log data, the image data containsidentification information for identifying an apparatus that hasgenerated the image data, and the processor corrects the locus using theposition data associated with the image data in a case where theidentification information contained in the log data coincides with theidentification information contained in the image data.
 12. Theinformation processing apparatus according to claim 8, wherein theprocessor determines the image data for use in the correcting regardlessof whether or not the position data associated with the image datacoincides with one of the plurality of position data contained in thelog data.
 13. A control method for an information processing apparatusthat includes a non-transitory memory configured to store log data andimage data, wherein the log data indicates locations along a path ofmovement, wherein the log data contains a plurality of pieces ofposition information and a plurality of pieces of time information, eachof which corresponds to a respective one of the plurality of pieces ofposition information, wherein the image data contains a metadata regionincluding time information indicating a time when an image is capturedand position information indicating a position where the image iscaptured, and wherein the position information contained in the metadataregion of the image data is obtained at a timing at which the image iscaptured, the timing being different from timings at which the pluralityof position information contained in the log data are obtained, thecontrol method comprising: displaying, on a display device, theplurality of position information contained in the log data and theposition information contained in the metadata region of image data inan order corresponding to the plurality of time information contained inthe log data and the time information contained in the metadata regionof the image data; if the non-transitory memory stores first image datathat contains a metadata region including first time informationindicating a first time when a first image is captured, the first timebeing next to a second time indicated by second time informationcontained in the log data in the order, displaying a first positionindicated by position information contained in the metadata region ofthe first image data and a second position indicated by positioninformation corresponding to the second time information of the log datasuch that the first and second positions are connected to each other;and if the non-transitory memory does not store the first image data,displaying the second position and a third position indicated byposition information corresponding to third time information of the logdata indicating a third time which is next to the second time in theorder such that the second and third positions are connected to eachother.
 14. An information processing apparatus comprising: anon-transitory memory; and a processor coupled to the non-transitorymemory, which executes the following: obtaining from a log file log dataincluding a plurality of position data and a plurality of correspondingtime data; obtaining from an image file position data indicating wherean image was captured and corresponding time data recorded together withimage data; and selectively creating a first locus by seriallyconnecting the plurality of position data obtained from the log filebased on the corresponding time data obtained from the log file, or asecond locus by serially connecting both of the plurality of positiondata and the position data obtained from both of the log file and theimage file based on the time data obtained from both of the log file andthe image file.
 15. A control method for an information processingapparatus using a non-transitory memory and a processor coupled to thenon-transitory memory, the control method comprising: receiving log datacontaining a plurality of position data and a plurality of correspondingtime data, and receiving image data with which position data indicatingan image capturing position and time data indicating an image capturingtime are associated; creating a locus by serially connecting theplurality of position data contained in the log data based on the timedata contained in the log data; correcting the locus by seriallyconnecting the position data associated with the image data and theplurality of position data contained in the log data based on the timedata associated with the image data and the time data contained in thelog data so that the corrected locus shows a more precise route than thelocus created based only on the log data; and displaying the correctedlocus on a display unit.
 16. A control method for an informationprocessing apparatus using a non-transitory memory and a processorcoupled to the non-transitory memory, the control method comprising:obtaining from a log file log data including a plurality of positiondata and a plurality of corresponding time data; obtaining from an imagefile position data indicating where an image was captured andcorresponding time data recorded together with image data; andselectively creating a first locus by serially connecting the pluralityof position data obtained from the log file based on the correspondingtime data obtained from the log file, or a second locus by seriallyconnecting both of the plurality of position data and the position dataobtained from both of the log file and the image file based on the timedata obtained from both of the log file and the image file.
 17. Anon-transitory computer-readable storage medium storing a program thatwhen executed causes a computer to perform a control method for aninformation processing apparatus, the control method comprising:receiving log data containing a plurality of position data and aplurality of corresponding time data; receiving image data with whichposition data indicating an image capturing position and time dataindicating an image capturing time are associated; creating a locus byserially connecting the plurality of position data contained in the logdata based on the time data contained in the log data; correcting thelocus by serially connecting the position data associated with the imagedata and the position data contained in the log data based on the timedata associated with the image data and the time data contained in thelog data so that the corrected locus shows a more precise route than thelocus created based only on the log data; and displaying the correctedlocus on a display unit.
 18. A non-transitory computer-readable storagemedium storing a program that when executed causes a computer to performa control method for an information processing apparatus, the controlmethod comprising: obtaining from a log file log data including aplurality of position data and a plurality of corresponding time data;obtaining from an image file position data indicating where an image wascaptured and corresponding time data recorded together with image data;and selectively creating a first locus by serially connecting theplurality of position data obtained from the log file based on thecorresponding time data obtained from the log file, or a second locus byserially connecting both of the plurality of position data and theposition data obtained from both of the log file and the image filebased on the time data obtained from both of the log file and the imagefile.